package com.zhuoyue.elmt.service;

import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.elmt.dao.AdministrativeAreasDao;
import com.zhuoyue.elmt.entity.AdministrativeAreas;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by admin on 2016/12/17.
 */
@Service
@Transactional(readOnly = true)
public class AdministrativeAreasService extends CrudService<AdministrativeAreasDao,AdministrativeAreas> {
    @Autowired
    private AdministrativeAreasDao dao;

    public List<AdministrativeAreas> getAll(){
        return dao.getAll();
    }
}
